package com.fenghongzhang.kuaishou.mvp.login.contract;


import com.fenghongzhang.kuaishou.mvp.login.entity.UserInfoBean;
import com.fenghongzhang.mvp_lib.model.IModel;
import com.fenghongzhang.mvp_lib.view.IView;

import io.reactivex.Observer;

public interface LoginContract {

    interface ILoginModel extends IModel {
        void login(String name, String pwd, Observer<UserInfoBean> observer);
    }

    interface ILoginView extends IView {
        void showToast(String msg);
        String getName();
        String getPwd();
        void isLoginOk(UserInfoBean loginInfoBean);
    }

}
